package me.ywy.apt.ormdb;

import me.ywy.apt.ormdb.sqlite.annotation.DBField;
import me.ywy.apt.ormdb.sqlite.annotation.DBTable;

/**
 * Created by ywy on 2018-04-11.
 */
@DBTable("tb_person")
public class Person {
    @DBField("tb_username")
    public String username;

    @DBField("tb_password")
    public String password;

    @DBField("tb_age")
    public Long age;

    @DBField("tb_icon")
    public byte[] icon;

    public byte[] getIcon() {
        return icon;
    }

    public void setIcon(byte[] icon) {
        this.icon = icon;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }
}
